/*
 * @Author: 霍雷
 * @Date: 2022-05-23 15:01:37
 * @LastEditors: 霍雷
 * @LastEditTime: 2022-05-24 16:42:17
 * @FilePath: \gua-dev-starter\dev-kit\vite\plugins\mock.ts
 * @Discription:
 * @Description:
 */
import { viteMockServe } from 'vite-plugin-mock'
import mockConfig from '../../config/vite-plugin-mock-config.json'
const createMock = () => {
  return viteMockServe({
    ...mockConfig,
  })
}
export default createMock
